var status = -1;
var selectionLog = [];

function action(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }
    status++;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.afterlandUpdateEnvironment();
            if (cm.isQuestActive(63045) && cm.getNumberFromQuestInfo(63045, "chk2") == 0) {
                cm.updateInfoQuest(63045, "chk1=1;chk2=1");
                cm.addPopupSay(9400205, 4000, "唔~~这里也没有任何色彩。去下个地图吧。", "", 0)
            }
            cm.dispose()
        }
    }
}

function start() {
    status = -1;
    action(1, 0, 0)
};